#include "SALT_Events.h"

#include "SDL/SDL.h"

namespace SALT{
	namespace Events{
		void SDLEventManager::handleEvent(void *data){
			SDL_Event* ev=(SDL_Event*)data;
			EventCallback cb=this->_callbacks[ev->type];
			if(cb!=NULL)
				cb(data);
		}
	};
};